package com.edt.ichannel.api.dao;

import com.edt.ichannel.api.entiy.local.BfContractCommissionRule;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * BfContractCommissionRule数据访问类
 *
 * @author 李爽
 * @date 2018-09-27
 */
public interface BfContractCommissionRuleDao {

    /**
     * 根据地市编码，产品id,首充金额获取承包补发佣金规则
     *
     * @param productId  productId
     * @param cityCode   cityCode
     * @param firstMoney firstMoney
     * @return com.edt.ichannel.api.entiy.local.BfCommissionRule
     * @author 李爽
     * @date 2018/9/27 13:24
     */
    BfContractCommissionRule getBfContractCommissionRule(@Param("productId") String productId,
                                                         @Param("cityCode") String cityCode,
                                                         @Param("firstMoney") int firstMoney,
                                                         @Param("firstDate") Date firstDate);
}